<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head profile="http://selenium-ide.openqa.org/profiles/test-case">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="http://localhost:8080/Website/" />
<title>MakeReservationSC2TC6</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">MakeReservationSC2TC6</td></tr>
</thead><tbody>
<!--Created by Steven Chow-->
<!--Scenario 2: UnSuccessful Reservation-->
<!--Test Case 6: Invalid Name lengths-->
<!---->
<!--Go to website-->
<tr>
	<td>open</td>
	<td>http://localhost:8080/Website/</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>css=div.tile.bg-color-red &gt; div.tile-content.icon</td>
	<td></td>
</tr>
<!--L + O +G + I + N = LOGIN-->
<tr>
	<td>type</td>
	<td>name=username</td>
	<td>User1</td>
</tr>
<tr>
	<td>type</td>
	<td>name=password</td>
	<td>pass1</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>css=input[type=&quot;submit&quot;]</td>
	<td></td>
</tr>
<!--Is that Customer Town Portal there?  A bunch of Orcs are chasing me!!-->
<tr>
	<td>assertTitle</td>
	<td>Customer Portal</td>
	<td></td>
</tr>
<!--I NEED TO SEARCH FOR A FLIGHT!! THOSE GOD DAMN ORCS SHUT DOWN THE PORTAL!!-->
<tr>
	<td>clickAndWait</td>
	<td>css=div.tile-content.icon</td>
	<td></td>
</tr>
<!--DAMNNIT!! NO TIME FOR FILTERING!! THAT GIANT ORC IS GONNA KILL ME!!-->
<tr>
	<td>clickAndWait</td>
	<td>css=input[type=&quot;submit&quot;]</td>
	<td></td>
</tr>
<!--THE FIRST FLIGHT OF COURSE!!! NO TIME TO LOOK-->
<tr>
	<td>click</td>
	<td>name=r1</td>
	<td></td>
</tr>
<!--NO WAIT THERE IS A LEVEL 90 BADDASS PALADIN TO THE RESCUE-->
<!--DAMN SHE'S ONE HOT BABE!!! KICK THE HORDE'S ASS-->
<!--WAIT WAIT I'm getting side tracked here!! Let's just make a reservation!-->
<tr>
	<td>clickAndWait</td>
	<td>css=div &gt; input[type=&quot;submit&quot;]</td>
	<td></td>
</tr>
<!--My First name is sometime that is super long.-->
<tr>
	<td>type</td>
	<td>name=firstName</td>
	<td>HAHAHAHAHAHAHALJFLADSFAKSDLFKLADFKSDFADFSFADFADSASDdfsdfadsfasddfdfa</td>
</tr>
<tr>
	<td>type</td>
	<td>name=lastName</td>
	<td>adfadsfdafhejrklhkalejhsfjsdkahshfweuaeukshfksafadfadsasfds</td>
</tr>
<tr>
	<td>type</td>
	<td>name=seatID</td>
	<td>F25A</td>
</tr>
<tr>
	<td>click</td>
	<td>//div[@id='page1']/div/label[2]/span</td>
	<td></td>
</tr>
<!--WHY IS THERE NO MCDONALDS AS A CHOICE HERE!!!!!! -->
<tr>
	<td>click</td>
	<td>xpath=(//input[@name='mealOption'])[2]</td>
	<td></td>
</tr>
<!--Oh crap, my name is Too long maybe the program is fail-safe.-->
<!--MEANING I DON'T GET AN HTTP ERROR OR A BLANK PAGE!!!!!!-->
<tr>
	<td>clickAndWait</td>
	<td>css=input[type=&quot;submit&quot;]</td>
	<td></td>
</tr>
<tr>
	<td>assertTitle</td>
	<td>Payment for Direct Flight</td>
	<td></td>
</tr>
</tbody></table>
</body>
</html>
